﻿@model List<BookingManagementSystem.Models.BookingModel>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>
@using (@Html.BeginForm())
{
    <a href="@Url.Content("~/Bookings/CreateBooking")">Add booking</a>
    
    foreach (BookingManagementSystem.Models.BookingModel booking in @Model)
    {
        Html.RenderPartial("ViewUserControlBookingSummary", booking);
    }
}
